package com.ruoyi.statistics.api.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 子订单信息统计对象 erp_child_order_statistics
 *
 * @author erp
 * @date 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_child_order_statistics")
public class ErpChildOrderStatistics extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 订单号
     */
    private Long orderId;
    /**
     * 子单号
     */
    private String childOrderId;
    /**
     * 商品数量
     */
    private String productCount;
    /**
     * 商品采购单价
     */
    private String productUnitPrice;
    /**
     * 商品采购总价
     */
    private String productTotalPrice;
    /**
     * 商品物流单价
     */
    private String logisticsUnitPrice;
    /**
     * 商品物流总价
     */
    private String logisticsTotalPrice;
    /**
     * 商品采购成本单价
     */
    private String costUnitPrice;
    /**
     * 子单采购总成本
     */
    private String costTotalPrice;
    /**
     * 乐观锁
     */
    private String revision;
    /**
     * 商品编码
     */
    private String skuCode;
    /**
     * 真实采购价
     */
    private String realityPurchasePrice;
    private Long userId;
    private Long deptId;
    private Long storeId;

    /**
     * 子单金额
     */
    private String childAmount;
    /**
     * 子单利润
     */
    private String productProfit;
    /**
     * 采集商品id
     */
    private Long collectProductId;
    /**
     * 类目id
     */
    private Long categoryId;
}
